package com.aaa.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 登录记录
 * </p>
 *
 * @author aaa
 * @since 2020-12-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_login_log")
@ApiModel(value="LoginLog对象", description="登录记录")
public class LoginLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "login_log_id", type = IdType.ASSIGN_ID)
    private Long loginLogId;

    @ApiModelProperty(value = "日志名称")
    private String logName;

    @ApiModelProperty(value = "管理员id")
    private Long userId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "是否执行成功")
    private String succeed;

    @ApiModelProperty(value = "具体消息")
    private String message;

    @ApiModelProperty(value = "登录ip")
    private String ipAddress;


}
